package com.ruoyi.repayment.mapper;


import com.ruoyi.repayment.pojo.LoanProduct;
import com.ruoyi.repayment.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LoanProductMapper {
    @Select(value = "select * from loan_product")
    List<LoanProduct> ProductList();
    @Select(value = "select * from loan_product where id=#{id}")
    Product findById(Long id);
}
